.footerbar {
    background: #fff; /* 背景颜色 */
    border-top: 1px solid #eee; /* 上边框 */
    box-shadow: 0 -5px 16px 0 rgb(0 0 0 / 3%); /* 阴影效果 */
    position: fixed; /* 固定在页面底部 */
    bottom: 0; /* 底部对齐 */
    width: 100%; /* 全宽 */
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-around; /* 使子项均匀分布 */
    padding: 8px 0; /* 内边距 */
    z-index: 1000; /* 确保在上层 */
    left: 0;
}

.footer-item {
    text-align: center; /* 文本居中 */
}

.footerbar .enquiry-btn {
    position: absolute; /* 绝对定位 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%) translateY(-30px); /* 使其在 Y 轴上向上偏移 */
}

.footerbar .enquiry-btn-icon {
    background-color: #d1191a; /* 按钮背景色 */
    color: #fff; /* 按钮文字颜色 */
    border-radius: 50%; /* 圆形按钮 */
    width: 50px; /* 按钮宽度 */
    height: 50px; /* 按钮高度 */
    display: flex; /* 使用 Flexbox 使图标居中 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    transition: transform 0.3s ease; /* 增加过渡效果 */
}

.footerbar .enquiry-btn-icon:hover {
    transform: rotate(45deg) scale(1.1);
}

.footerbar .unread-message-badge {
    position: absolute; /* 绝对定位 */
    top: -5px; /* 向上偏移 */
    left: 50%; /* 水平居中 */
    transform: translateX(10%); /* 轻微向右偏移 */
}

.footerbar .unread-message-badge .fa-circle {
    color: #d1191a; /* 未读消息图标颜色 */
}

.page-header{
    background-color: #fff;
    border-radius: 10px;
    background-image: url(https://www.ruanfujia.com/img/background/recom-bg_938.jpg), linear-gradient(180deg, #f3f5f8, #fff 178px, #fff);
    background-size: 340px auto, auto;
    background-position: 100% 0;
    background-repeat: no-repeat;
    box-shadow: 8px 8px 20px 0 rgba(55, 99, 170, .1), -8px -8px 20px 0 #fff;
    box-sizing: border-box;
    position: relative;
    padding: 20px;
    margin-top:0;
}

.rfj-card-container{
    background-color: #fff;
    border-radius: 10px;
    background-image: url(https://www.ruanfujia.com/img/background/recom-bg_938.jpg), linear-gradient(180deg, #f3f5f8, #fff 178px, #fff);
    background-size: 340px auto, auto;
    background-position: 100% 0;
    background-repeat: no-repeat;
    box-shadow: 8px 8px 20px 0 rgba(55, 99, 170, .1), -8px -8px 20px 0 #fff;
    box-sizing: border-box;
    position: relative;
}

.software-footer-navigation {
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 -5px 16px 0 rgba(0, 0, 0, 0.03);
    background-color: white;
    display: flex;
    justify-content: space-between; /* 在主轴上均匀分布 */
    padding: 0;
    margin: 0;
    left:0;
}

/* 按钮容器的样式 */
.software-footer-navigation .software-footer-btn-container {
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column; /* 垂直排列 */
    justify-content: center;
    align-items: center;
    margin: 0 5px; /* 添加左右边距以调整按钮之间的间距 */
}

/* 返回主页按钮和收藏按钮的宽度较小 */
.software-footer-navigation .software-home-btn,
.software-footer-navigation .software-favorite-btn {
    width: 13.333%; /* 小按钮宽度 */
}

/* 申请试用和询价按钮的宽度较大 */
.software-footer-navigation .software-action-btn,
.software-footer-navigation .software-inquiry-btn {
    width: 30%; /* 大按钮宽度 */
}

/* 按钮样式 */
.software-footer-navigation .software-footer-btn {
    display: flex; /* 使用 Flexbox */
    flex-direction: column; /* 垂直排列图标和文字 */
    justify-content: center; /* 垂直居中对齐 */
    align-items: center; /* 水平居中对齐 */
    width: 100%;
    border-radius: 4px;
    font-size: 14px;
    gap:0;
    padding: 5px; /* 添加内边距以增加点击区域 */
    text-decoration: none; /* 去掉链接下划线 */
    transition: background-color 0.3s, border-color 0.3s; /* 添加过渡效果 */
}

/* 申请试用按钮样式 */
.software-footer-navigation .software-action-btn .software-footer-btn {
    background-color: white; /* 白色背景 */
    border: 1px solid #d1191a; /* 边框颜色 */
    color: #d1191a; /* 文字颜色 */
    height: 40px; /* 固定高度 */
}

/* 询价按钮样式 */
.software-footer-navigation .software-inquiry-btn .software-footer-btn {
    background-color: #d1191a; /* 背景颜色 */
    color: white; /* 文字颜色 */
    height: 40px; /* 固定高度 */
}

/* 图标容器样式 */
.software-footer-navigation .icon-container {
    display: flex;
    justify-content: center;
    align-items: center; /* 图标居中 */
    margin-bottom: 2px; /* 图标和文本之间的间距 */
}

.software-footer-navigation .icon-container i {
    font-size: 1.5em; /* 图标大小 */
}

/* 按钮文字样式 */
.software-footer-navigation .button-label {
    font-size: 85%; /* 文字大小 */
}

/* 响应式设计 */
@media only screen and (max-width: 768px) {
    .software-footer-navigation {
        min-height: 50px; /* 在小屏幕时，导航栏的最小高度 */
    }
}

.right-nav {
    position: fixed;
    right: 15px; /* 缩小右侧间距 */
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff; /* 可根据需求调整 */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 6px; /* 圆角边框 */
    z-index: 999; /* 确保位于顶部 */
    display: flex;
    flex-direction: column;
    gap: 6px; /* 按钮之间的间距 */
    padding: 6px; /* 内边距 */
}

.right-nav-button {
    display: flex;
    flex-direction: column; /* 使图标和文字垂直排列 */
    align-items: center; /* 水平居中对齐 */
    text-decoration: none;
    color: #333; /* 文本颜色 */
    padding: 6px; /* 缩小按钮的内边距 */
    border-radius: 4px; /* 按钮圆角 */
    transition: background-color 0.3s, color 0.3s; /* 过渡效果 */
    font-size: 12px; /* 设置字体大小为 12px */
}

.right-nav-button .icon {
    flex-shrink: 0; /* 图标不缩小 */
    font-size: 22px; /* 图标大小 */
    margin-bottom: 4px; /* 图标和文本之间的间距 */
    color: #d1191a; /* 图标颜色 */
}

.right-nav-button:hover {
    background-color: #d1191a; /* 悬停时的背景色 */
    color: #fff; /* 悬停时的文本颜色 */
}

.right-nav-button:hover .icon {
    color: #fff; /* 悬停时图标颜色 */
}

.right-nav .customer-service-button .icon img {
    width: 25px; /* 缩小客服图标宽度 */
}

.right-nav .customer-service-button .icon img.originImg {
    display: block; /* 正常状态的客服图标 */
}

.right-nav .customer-service-button .icon img.hoverImg {
    display: none; /* 悬停状态的客服图标 */
}

.right-nav .customer-service-button:hover .icon img.originImg {
    display: none; /* 悬停时隐藏正常状态的图标 */
}

.right-nav .customer-service-button:hover .icon img.hoverImg {
    display: block; /* 悬停时显示悬停状态的图标 */
}


.btn-chat{
    color: #fff;
    width: 120px;
    line-height: 32px;
    height:36px;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #4cae4c;
    background: #5cb85c;
    webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}
a.btn-chat:focus,a.btn-chat:hover{
    color: #fff;
    background-color: #449d44;
    border-color: #398439;
}

.simulated-image{
    background: linear-gradient(135deg, #4c5aaf, #81c794); height: 100%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2em; border-radius: 8px;overflow: hidden
}

.in-block {
    display: inline-block;
}


.single-entry-content {
    font-size: 16px;
    letter-spacing: 0.1em ;
    line-height: 1.8em ;
    text-align: justify;
}

.entry-content .single-entry-content{
    overflow: hidden;
    overflow-x: auto;
}

.single-entry-content h1,
.single-entry-content h2,
.single-entry-content h3,
.single-entry-content h4,
.single-entry-content h5,
.single-entry-content h6{
    font-weight:bold;
}

.single-entry-content h1 {
    font-size: 24px;
}

.single-entry-content h2 {
    font-size: 22px;
}

.single-entry-content h3 {
    font-size: 20px;
}

.single-entry-content h4 {
    font-size: 18px;
}

.single-entry-content h5 {
    font-size: 16px;
}

.single-entry-content h6 {
    font-size: 14px;
}

.single-entry-content table {
    border-collapse: collapse;
    width: 100% !important;
}

.single-entry-content td {
    border: 1px solid rgb(221, 221, 221);
    padding-left: 5px;
    white-space: normal !important;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
}


.topbar-right {
    text-align: left;
    display: flex;
    justify-content: flex-end;
}
.topbar-right .top-right-menu{
    display: flex;
    gap: 15px;
}

.media-frame-menu .media-menu{
    display:none;
}
.pagination {
     display: flex;           /* 使用 flex 布局 */
     flex-wrap: wrap;         /* 允许换行 */
     justify-content: center; /* 居中分页按钮 */
     gap: 4px;                /* 分页按钮间距 */
     margin: 10px 0;
 }

.page-numbers {
    flex: 0 0 auto;          /* 不拉伸、不缩放 */
    padding: 6px 12px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    text-align: center;
    min-width: 36px;         /* 保持按钮宽度一致 */
    box-sizing: border-box;
}

a.page-numbers:hover{
    background-color: #fff;
    color: #d1191a;
    border-color: #d1191a;
    text-decoration: none;
}

.page-numbers.current {
    background-color: #fff;
    color: #d1191a;
    border-color: #d1191a;
}

.page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

/* 手机端优化：缩小按钮并减小 padding */
@media (max-width: 480px) {
    .page-numbers {
        padding: 4px 8px;
        font-size: 12px;
        min-width: 28px;
    }
}

.rfj-post-actions-container {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between; /* 左右分布 */
    align-items: center;
    background: #fff; /* 建议加背景，避免和正文重叠看不清 */
    padding: 10px 0;
    border-top: 1px solid #eee;
    z-index: 99; /* 避免被正文盖住 */
}

/* 收藏+点赞按钮组 */
.rfj-post-actions-container .rfj-action-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

#rfj-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* 用 rgba 更直观 */
    z-index: 1000;
}

/* --- 外层容器，允许横向滚动 --- */
.post-content-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* 让手机滑动顺畅 */
}

/* --- 内容本体 --- */
.post-content {
    max-width: 100%;
    overflow-x: auto;
    word-break: break-word;
}

/* 图片自适应 */
.post-content img {
    max-width: 100%;
    height: auto;
}

/* 表格可滚动 */
.post-content table {
    display: block;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 代码块自动换行 */
.post-content pre,
.post-content code {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 100%;
    overflow-x: auto;
}
.rank-number {
    text-align: center;
    margin-right: 5px;
    width: 22px;
    height: 22px;
    line-height: 22px;
    display: inline-block;
    color: #fff;
    border-radius: 3px; /* 可选：添加圆角 */
}

/* 您的排名专用色 */
.bg-rank-1 { background-color: #d1191a; }
.bg-rank-2 { background-color: #e95d54; }
.bg-rank-3 { background-color: #f9953e; }
.bg-rank-other { background-color: #cccccc; }

/* Case Card Base Styles */
.case-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.case-card-link:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.case-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Image Container Styles */
.case-image-container {
    position: relative;
    overflow: hidden;
}

.aspect-ratio-16x9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
}

.case-card:hover .aspect-ratio-16x9 {
    transform: scale(1.05);
}

/* Loading States */
.case-image.lazy-loading {
    background-color: #f8f9fa;
    position: relative;
}

.case-image.lazy-loaded {
    background-color: transparent;
}

.image-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.case-image.lazy-loaded .image-loading-indicator {
    opacity: 0;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Case Tag Styles */
.case-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 4px 8px 4px 4px;
    color: #ffffff;
    z-index: 2;
    max-width: calc(100% - 24px);
    transition: all 0.3s ease;
}

.case-card:hover .case-tag {
    background: rgba(0, 0, 0, 0.9);
}

.case-tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    background: linear-gradient(135deg, #d1191a, #ff000099);
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    flex-shrink: 0;
    margin-right: 6px;
}

.case-tag-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 2px #000;
}

/* Image Overlay */
.case-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0) 30%,
            rgba(0, 0, 0, 0) 70%,
            rgba(0, 0, 0, 0.2) 100%
    );
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.case-card:hover .case-image-overlay {
    opacity: 0.8;
}

/* Content Styles */
.case-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-title {
    margin: 0 0 8px 0;
    color: #1a1a1a;
    font-size: 1.1em;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.case-meta-info {
    margin-bottom: 12px;
}

.entry-date {
    color: #6b7280;
    font-size: 0.875em;
}

/* Relations Styles */
.case-relations {
    margin-top: auto;
}

.case-relation-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 6px;
    min-height: 22px;
}

.case-relation-item:last-child {
    margin-bottom: 0;
}

.case-relation-label {
    color: #4b5563;
    font-size: 0.875em;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.case-badges {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Badge Styles */
.badge {
    transition: all 0.2s ease;
}

.badge-customer {
    background-color: #fef7cd;
    color: #854d0e;
    border: 1px solid #fde68a;
}

.badge-vendor {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-software {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.badge-function {
    color: #d1191a;
    background-color: #fff5f5;
    border: 1px solid #d1191a;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .case-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .case-card:active {
        transform: scale(0.98);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .case-card {
        background: #1f2937;
    }

    .case-title {
        color: #f9fafb;
    }

    .case-relation-label {
        color: #d1d5db;
    }

    .entry-date {
        color: #9ca3af;
    }

    .badge-customer {
        background-color: #1e3a8a;
        color: #dbeafe;
        border-color: #3730a3;
    }

    .badge-vendor {
        background-color: #064e3b;
        color: #a7f3d0;
        border-color: #047857;
    }

    .badge-software {
        background-color: #78350f;
        color: #fde68a;
        border-color: #d97706;
    }

    .case-image.lazy-loading {
        background-color: #374151;
    }
}


/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .case-card {
        border: 2px solid #000;
    }

    .badge-customer,
    .badge-vendor,
    .badge-software {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .case-card,
    .case-card:hover,
    .aspect-ratio-16x9,
    .badge {
        transition: none;
        transform: none;
    }

    .image-loading-indicator {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .case-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .case-card-link {
        text-decoration: none;
    }

    .case-image-overlay {
        display: none;
    }
}

/* 抽屉样式 */
.filter-drawer {
    position: fixed;
    top:-100%;
    left:0;
    width:100%;
    height:50%;
    min-height: 200px;
    max-height:800px;
    background:#fff;
    z-index:101;
    transition: top 0.3s;
    flex-direction:column;
    box-shadow:0 2px 12px rgba(0,0,0,0.2);
    display: none;
}
.filter-drawer.open {
    top:0;
    display:flex;
}

.filter-body {
    flex:1;
    display:flex;
    overflow:hidden;
}
.filter-left {width:40%;border-right:1px solid #eee;overflow-y:auto;}
.filter-right {width:60%;padding:10px;overflow-y:auto;}
.filter-left ul,.filter-right ul{list-style:none;padding:0;margin:0;}
.filter-left li,.filter-right li{
    padding:10px;
    cursor:pointer;
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.filter-left li.active,.filter-right li.active{
    background:#dbeafe;
    color:#1366ec;
}
.filter-left li:hover:not(.active),.filter-right li:hover:not(.active){
    background:#f5f5f5;
}
.filter-footer{
    padding:10px;
    border-top:1px solid #eee;
    display:flex;
    justify-content:space-between;
}

.filter-footer #applyFilter{
    width: 50%;
    min-width: 100px;
    border-radius: 30px;
    font-size: 1.25em;
}
.filter-footer #resetFilter{
    border-radius: 30px;
    font-size: 1.25em;
}

.filter-button-wrapper{
    display: flex;
    align-items: center;
}

/* PC端抽屉宽度和页面container一致 */
@media(min-width:769px){
    .filter-drawer {
        max-width: 1140px;
        left:50%;
        transform: translateX(-50%);
        border-radius: 4px;
    }
}

/* 移动端全屏显示抽屉 */
@media(max-width:768px){
    #primary.has-top-filter{
        padding-top:53px;
    }
    .filter-drawer.open {
        top:100px;
    }
    .filter-button-wrapper {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        z-index: 99;
        background: #fff; /* 背景色覆盖滚动内容 */
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    .filter-drawer {height:70%;width:100%;border-radius:0;}

    .filter-trigger {
        flex:1;
    }
}

/* 抽屉触发器样式 */
.filter-trigger {
    display:inline-flex;
    justify-content:space-between;
    align-items:center;
    padding:5px 15px;
    /*border:1px solid #bfdbfe;*/
    border-radius:4px;
    color:#1366ec;
    cursor:pointer;
    /*background:#dbeafe;*/

    background: #f8f9fa;
    border: 1px solid #dee2e6;

    font-weight:700;
    user-select:none;
    transition: background 0.2s;
}
.filter-trigger:hover {
    /*background:#f8f8f8;*/
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#selectedCategoryName{
    font-weight: bold;
    display: inline-block;      /* 必须是块级或内联块级 */
    max-width: 200px;           /* 限制最大宽度 */
    white-space: nowrap;        /* 不换行 */
    overflow: hidden;           /* 超出隐藏 */
    text-overflow: ellipsis;    /* 超出显示省略号 */
    vertical-align: middle;     /* 与图标对齐 */
}

/* RFJ 新的分类菜单 */
.rfj-category-menu {
    padding: 10px 0;
    margin-bottom: 20px;
}

.rfj-category-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 0 10px;
    margin: 0;
    list-style: none;
}

.rfj-category-scroll::-webkit-scrollbar {
    display: none;
}

.rfj-category-scroll .rfj-cat-item {
    display: inline-block;
    margin-right: 10px;
}

.rfj-category-scroll .rfj-cat-item a {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}

.rfj-category-scroll .rfj-cat-item a:hover {
    background: #d1191a;
    color: #fff;
}

.rfj-category-scroll .rfj-current-cat a {
    background: #d1191a;
    color: #fff;
    font-weight: 500;
}

/* 手机端 sticky */
@media (max-width: 768px) {
    .rfj-category-menu {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        z-index: 99;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        background-color: #fff;
    }
}


.font-logo{
    height: 2em; width: 2em; text-align: center;background: linear-gradient(135deg, #d1191a, #ff000099);color:#fff;display: inline-flex;border-radius: 50%;justify-content: center;align-items: center;
}

.customer-card:hover .font-logo{
    background-color:#d1191a;
}